<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>发现</title>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" href="css/find.css" />
	</head>
	<body>
		<div class="web">
			<!--头部部分开始-->
				<div class="group-title">
					<div class="group-return fl"><a href="index.html">Back</a></div>					
					<div class="group-area fr">
						<select name="">
							<option value="gz">广州市</option>
							<option value="sz">深圳市</option>
						</select>
					</div>
					<p>发现</p>
				</div>
				<!--头部部分结束-->
			<div class="session">
				
				<!--搜索框部分开始-->
				<div class="searchBar">
					<input type="text" name="" id="" value="" placeholder="请输入商品名称" />
					<img src="img/fangdajing.png"/>
				</div>
				<!--搜索框部分结束-->
				
				<!--搜索推荐部分开始-->
				<div class="find-we">
					<h3>大家都在搜</h3>
					<div class="find-box">
						<ul class="clearfix">
							<li>寿司</li>
							<li>羽毛球</li>
							<li>火锅</li>
							<li>游泳馆</li>
							<li>电影</li>
							<li>周黑鸭</li>
							<li>KTV</li>
							<li>肯德基</li>
						</ul>
					</div>
					
				</div>
				
				<!--搜索推荐部分结束-->
				
				<!--产品展示部分开始-->
				<div class="product-show">
					<div class="group-classify clearfix">
						<div class="classify-left fl clearfix">
							<a href="describe.html" class="fl">
								<img src="img/find-01.png" alt="" />
							</a>
							<p class="fl">热门搜索</p>
						</div>
						<div class="classify-right fr">
							<a href="describe.html" class="fr"><img src="img/index-2.jpg" alt="" /></a>
							<p class="fr">更多</p>					
						</div>
					</div>
				</div>
				<div class="pic-show clearfix">
					<div class="show-left fl">
						<a href="describe.html">
							<img src="img/find-03.jpg" alt="" />
						</a>
					</div>
					<div class="show-right fr">
						<a href="describe.html">
							<img src="img/find-04.jpg" class="show-01" alt="" />
						</a>
						<a href="describe.html"><img src="img/find-05.jpg" class="show-02 fl" alt="" /></a>
						<a href="describe.html"><img src="img/find-06.jpg" class="show-03 fr" alt="" /></a>
					</div>
				</div>
				
				<div class="product-show">
					<div class="group-classify clearfix">
						<div class="classify-left fl clearfix">
							<a href="describe.html" class="fl">
								<img src="img/find-02.png" alt="" width="20px" height="19px" />
							</a>
							<p class="fl">推荐搜索</p>
						</div>
						<div class="classify-right fr">
							<a href="describe.html" class="fr"><img src="img/index-2.jpg" alt="" /></a>
							<p class="fr">更多</p>					
						</div>
					</div>
				</div>
				<div class="bottom-show">
					<a href="describe.html"><img src="img/find-07.jpg" alt="" /></a>
					<a href="describe.html"><img src="img/find-08.jpg" alt="" /></a>
					<a href="describe.html"><img src="img/find-09.jpg" alt="" /></a>
				</div>
				
				
				
				<!--产品展示部分开始-->
				
				
				
			</div>
			
			
			
			
			
			<!--底部-->
			<footer>
				<ul>
					<li>
						<a href="index.html">
							<i class="iconfont icon-path"></i>
							<p>首页</p>
						</a>
					</li>
					<li>
						<a href="classify.html">
							<i class="iconfont icon-classify"></i>
							<p>分类</p>
						</a>
					</li>
					<li>
						<a href="find.html">
							<i class="iconfont icon-zhinanzhen active"></i>
							<p>发现</p>
						</a>
					</li>
					<li>
						<a href="mypage.html">
							<i class="iconfont icon-user"></i>
							<p>我的</p>
						</a>
					</li>
				</ul>
			</footer>
		</div>
		
		
		<!--自动计算根字体大小的脚本-->
		<script>
		//安卓的输入法虚拟键盘会影响body的高度，所以在加载时，将body的原本高度给固定住
		document.body.style.height = window.innerHeight + "px";
		
        /*动态改变根元素字体大小*/
        function recalc() {
            var clientWidth = document.documentElement.clientWidth;
            if(!clientWidth) return;
            document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
        // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
        }

        function initRecalc() {
            recalc();
            var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
            if(!document.addEventListener) return;
            window.addEventListener(resizeEvt, recalc, false);
            document.addEventListener('DOMContentLoaded', recalc, false);
        }
        initRecalc();
    	</script>
	</body>
</html>
